home *** CD-ROM | disk | FTP | other *** search
- On 08-Apr-97, Hakan Venderlof wrote:
- >Is there some way an amosprogram can detect if
- >other programs are using the serial port?
-
- This falls in line with a lot of other things as well. First, use Request Off
- to turn off the AMOS requesters. Then use Trap Serial Open
- Channel,Port,Shared,XMode,7Wires : If Errtrap Then <serial port unavailable>
-
- Use similar code for opening files, etc. and you will put more control in your
- program's hands as well as hiding the AMOSness of the program.
-
- Well met and godspeed,
- Giark
- joehick@golden.net
- http://www.golden.net/~joehick/fbn/index.html
- ______ ______ _____ .------------------------------------------.
- / ____/ / __ / / ___ \ ! AMOS games, utilities, demos, etc. !
- / /__ / /_/ / / / / / ! !
- / ___/ / ___ | / / / / ! CyberSpace BBS (519)579-0072 !
- / / / /__/ / / / / / ! on A2000 060/50MHz (519)579-0173 !
- /_/ /______/ /_/ /_/ ! !
- Fly By Nite Videe-Oh! ! FBN Amiga 500 020 14MHz 1C/5F RAM 3.1OS !
- `------------------------------------------'
-
-
-